Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ghp-to-storage dispatch #391

Merged
merged 6 commits into from
May 9, 2024
Merged

Fix ghp-to-storage dispatch #391

merged 6 commits into from
May 9, 2024

Conversation

zolanaj
Copy link
Collaborator

@zolanaj zolanaj commented May 9, 2024

  • Prevents a bug in which the model fails to build when both GHP and thermal storage are present
  • While decision variables are present for GHP to charge to storage, these are fixed to zero, i.e., GHP cannot charge storage (which is consistent with the original formulation for GHP; it only served load previously)

@zolanaj zolanaj requested a review from adfarth May 9, 2024 15:41
@adfarth
Copy link
Collaborator

adfarth commented May 9, 2024

Adding a note here to double check that m[:dvHeatToStorage] is indexed on [b,t,q,ts] everywhere (missing t in a few places)

@zolanaj
Copy link
Collaborator Author

zolanaj commented May 9, 2024

Adding a note here to double check that m[:dvHeatToStorage] is indexed on [b,t,q,ts] everywhere (missing t in a few places)

I caught a couple others in addition to the ones you showed, and fixed them here: 4283794

@zolanaj zolanaj requested a review from adfarth May 9, 2024 19:42
Copy link
Collaborator

@adfarth adfarth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing all the comments and fixing this bug!

@zolanaj zolanaj merged commit 9fd9f9a into develop May 9, 2024
3 checks passed
@zolanaj zolanaj deleted the fix-ghp-storage-dispatch branch May 9, 2024 22:00
@zolanaj zolanaj mentioned this pull request May 9, 2024
indu-manogaran pushed a commit that referenced this pull request Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants